package safari.model.message;

import java.sql.SQLException;

import safari.model.common.ListVO;

public interface MessageService {
	public int newMessage(MessageVO msgvo) throws SQLException;
	public ListVO getReceivedMessageList(IdAndPageVO ipvo) throws SQLException;
	public ListVO getSendedMessageList(IdAndPageVO ipvo) throws SQLException;
	public MessageVO viewOneMessage(int no) throws SQLException;
	public int deleteMessage(int no) throws SQLException;
}
